package cn.ztydata.teachingsystem.heaven.entity;

import java.sql.Timestamp;

/**
 * 问题答案列表
 *
 * @author lyj
 * @since 2015-3-19
 */
public class Answer {
    private Long id; //ID
    private String content; //答案内容
    private Integer best; //是否为最佳答案（0不是  1是）
    private Long questionId; //问题ID
    private Long creatorId; //回答人ID
    private Integer role; //回答人角色（0老师  1学生）
    private Timestamp create; //创建时间
    private String creatorName; //创建人Id
    private String creatorPhoto; //创建人头像

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getBest() {
        return best;
    }

    public void setBest(Integer best) {
        this.best = best;
    }

    public Long getQuestionId() {
        return questionId;
    }

    public void setQuestionId(Long questionId) {
        this.questionId = questionId;
    }

    public Long getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public Timestamp getCreate() {
        return create;
    }

    public void setCreate(Timestamp create) {
        this.create = create;
    }

    public String getCreatorName() {
        return creatorName;
    }

    public void setCreatorName(String creatorName) {
        this.creatorName = creatorName;
    }

    public String getCreatorPhoto() {
        return creatorPhoto;
    }

    public void setCreatorPhoto(String creatorPhoto) {
        this.creatorPhoto = creatorPhoto;
    }
}
